@import '../../../../style/font.scss';
@import '../../../../style/color.scss';

.span {
  display: inline-block;
  background-color: #000000;
}

.normal-work-wrapper {

  .display-wrap {
    position: relative;

    .play {
      width: 26px !important;
      height: 44px !important;
      position: absolute;
      top:45%;
      left:50%;
      transform: translate(-50%);
    }
  }

  .swiper {
    position: relative;
    height: 520px;
    // width: 1722px;
    overflow: hidden;
    margin: -20px auto 0;
    width: 849px;
  }

  .swiper-slide,
  .swiper-slide-prev,
  .swiper-slide-next {
    transform: scaleY(0.85);
    transition: .4s;

    &:after {
      content: '';
      display: block;
      position: absolute;
      top:0;
      left:0;
      right:0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.2);
      border-radius: 25px;
    }

    .content-wrap {

      .swiper-content {
        margin: 30px;


        .title,
        .time-author {
          transform: scaleY(1.25);
        }
      }

    }
  }

  .swiper-container {
    height: 100%;
  }

  .swiper-slide {
    margin-top: 50px;
    height: 450px;
    overflow:hidden;
    -webkit-transition: 300ms;
    transition: 300ms;
  //  border-radius: 6px;
    position: relative;
  }

  .swiper-slide-active {
    top: 0;
    opacity: 1;
    -webkit-transform: scaleX(1.75);
    transform: scaleX(1.75);
    z-index: 999;
    transition: .3s;

    &:after {
      content: '';
      display: none;
    }

    .content-wrap {
      border-radius: 12px/20px;

      .swiper-content {
        margin: 30px 17px;

        .title {
          margin-top: -5px;
        }

        .title,
        .time-author {
          transform: scale(0.7, 1.3);
          margin-left: -37px;
        }
      }

    }

  }

  .content-wrap {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 25px;
    height: 100%;

    &:hover {
      cursor: pointer;
    }

    .swiper-content {
      margin: 30px;
    }

    >div{

      .img-wrap {
        height: 335px;
        width: 100%;
        background-color: #000000;

        >img,
        .span {
          width: 100%;
          height: 335px;
        }
      }

      .video-wrap {
        height: 335px;
        width: 100%;
        background-color: #000000;

        .video,  >img{
          width: 100%;
          height: 335px;
        }

      }
    }


    .title {
      font-family: $DFYuanW7-GBK;
      font-size: 14px;
      color: #292929;
      letter-spacing: 0;
      padding: 20px 0 10px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    .time-author {
      font-family: $DFYuanW7-GBK;
      font-size: 10px;
      color: #999999;
      letter-spacing: 0;

      .label {
        display: inline-block;
      }

      .label + .label {
        padding-left: 20px;
      }

    }
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 60px;
    height: 60px;
  }

  .swiper-button-prev {
    background-image: url("../../../../../images/horizonImg/icon_back_nor.png");
    background-size: 60px;
    left: 135px;

    &:hover {
      background-image: url("../../../../../images/horizonImg/icon_back_light.png");
    }
  }

  .swiper-button-next {
    background-image: url("../../../../../images/horizonImg/icon_next_nor.png");
    background-size: 60px;
    right: 135px;

    &:hover {
      background-image: url("../../../../../images/horizonImg/icon_next_light.png");
    }
  }

}


.v-normal-work-wrapper {
  padding: 170px 0;
  position: relative;

  .display-wrap {
    position: relative;

    .play {
      width: 46px !important;
      height: 34px !important;
      position: absolute;
      top:0;
      left:0;
      right: 0;
      bottom: 0;
      margin: auto;
    }
  }

  .swiper {
    position: relative;
    height: 1000px !important;
    overflow: hidden;
    margin: 0 auto;
    padding: 0 160px;
  }

  .swiper-container {
    height: 100%;
  }

  .swiper-slide {
   // margin-top: 80px;
    height: 750px;
    // width: 180px;
    overflow:hidden;
    -webkit-transition: 300ms;
    transition: 300ms;
    border-radius: 25px;
    //-webkit-transform: scale(0);
    //transform: scale(0);
    position: relative;

    // border: solid 1px red;
 //   padding: 0 70px;
  }

  .swiper-slide,
  .swiper-slide-prev,
  .swiper-slide-next {
    transition: .4s;
    -webkit-transform: scale(0.85);
    transform: scale(0.85);

    &:after {
      content: '';
      display: block;
      position: absolute;
      top:0;
      left:0;
      right:0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.2);
      border-radius: 25px;
    }

  }

  .swiper-slide-active {
    top: 0;
    opacity: 1;
    -webkit-transform: scaleY(1.45);
    transform: scaleY(1.45);
    z-index: 999;
    border-radius: 34px/20px;

    &:after {
      content: '';
      display: none;
    }

    .content-wrap {
      border-radius: 25px;

      &:hover {
        cursor: pointer;
      }

      .swiper-content{
        background: #FFFFFF;
        height: 100%;
        margin: 0;
        border-radius: 25px;
        border-radius: 34px/20px;

        .img-wrap {
          width: 100%;
          padding: 20px 30px;
          height: 273px;

          >img,
          .span {
            width: 100%;
            height: 233px;
          }
        }
      }


      .title {
        font-family: $DFYuanW7-GBK;
        font-size: 22px;
        color: #292929;
        letter-spacing: 0;
        margin-top: -10px;
        padding: 0 50px 6.5px 30px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
        line-height: 22px;
      }

      .time-author {
        font-family: $DFYuanW7-GBK;
        font-size: 16px;
        color: #999999;
        letter-spacing: 0;
        padding: 0 30px 20px;
      }

      .title,
      .time-author {
        transform: scale(1.15, 0.75);
        margin-left: 35px;
      }

      .video-wrap {
      //  background-color: black;
        width: 100%;
        height: 273px;
        padding: 20px 30px;
        //margin: 20px;

        .video {
          width: 100%;
          height: 233px;
          margin: auto;
          background-color: black;
        }

        img {
          width: 100%;
          height: 233px;
        }
      }

      .video-content {
        padding: 20px;
        font-family: $DFYuanW7-GBK;
        font-size: 18px;
        color: #292929;
        letter-spacing: 0;
        width: 100%;
        overflow : hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 60px;
    height: 60px;
  }

  .swiper-button-prev {
    background-image: url("../../../../../images/horizonImg/icon_back_nor.png");
    background-size: 60px;
    top: 35px;
    left:0;
    right:0;
    margin: 0 auto;
    transform: rotate(90deg);

    &:hover {
      background-image: url("../../../../../images/horizonImg/icon_back_light.png");
    }
  }

  .swiper-button-next {
    background-image: url("../../../../../images/horizonImg/icon_next_nor.png");
    background-size: 60px;
    top: 96%;
    right: 0;
    left:0;
    bottom: 0;
    margin: 0 auto;
    transform: rotate(90deg) translateX(-50%);

    &:hover {
      background-image: url("../../../../../images/horizonImg/icon_next_light.png");
    }
  }

  .content-wrap {
   border-radius: 25px;

    &:hover {
      cursor: pointer;
    }

    .swiper-content{
      background: #FFFFFF;
     // border: 1px solid #CCCCCC;
    //  box-shadow: 0 0 10px 0 rgba(188,188,188,0.50);
    //  border-radius: 4px;
      height: 100%;
      margin: 0px;
      border-radius: 25px;
      //padding: 20px;

      .img-wrap {
        width: 100%;
        padding: 25px;
        height: 310px;

        >img,
        .span {
          width: 100%;
          height: 260px;
        }
      }
    }


    .title {
      font-family: $DFYuanW7-GBK;
      font-size: 22px;
      color: #292929;
      letter-spacing: 0;
      margin-top: -20px;
      padding: 0 30px 10px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    .time-author {
      font-family: $DFYuanW7-GBK;
      font-size: 12px;
      color: #999999;
      letter-spacing: 0;
      padding: 0 24px 24px;
    }

    .video-wrap {
    //  background-color: black;
      width: 96%;
      //height: 270px;
      padding: 20px 0 20px 20px ;

      .video {
        width: 100%;
        height: 270px;
        margin: auto;
        background-color: black;
      }

      img {
        width: 100%;
        height: 270px;
      }
    }

    .video-content {
      padding: 20px;
      font-family: $DFYuanW7-GBK;
      font-size: 18px;
      color: #292929;
      letter-spacing: 0;
      width: 100%;
      overflow : hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }
}
